<template>
  <div>
    <van-swipe :autoplay="3000" indicator-color="white" class="swipe">
      <van-swipe-item class="item" v-for="item in lunbolist" :key="item.img||item.src">
        <img :src="item.img||item.src" alt>
      </van-swipe-item>
    </van-swipe>
  </div>
</template>
<script>
export default {
  props: ["lunbolist"]
};
</script>
<style lang="less">
.swipe {
  height: 200px;
  .item {
    img {
      width: 100%;
      height: 100%;
    }
  }
}
</style>